{% extends 'index.html' %}
{% load comments %}
{% block page-content %}
<!--bbs-contents-->

    {% block index__part %}

<!-- saved from url=(0037)https://my.oschina.net/u/3264690/blog -->
    <link rel="stylesheet" type="text/css" href="/static/home_files/leeui_layout.css">


            <link type="text/css" href="/static/home_files/icon-svg.min.css" rel="stylesheet">
                    <link type="text/css" href="/static/home_files/blog.min.css" rel="stylesheet">

            <style type="text/css"></style>




    <div>
            <div class="blog-user">
            <div class="container">
                <div class="flex-item">
                    <div class="flex-item-3 flex-item-md-3 sidebar">


<div class="user-info">
    <div class="icon">
        <a href="#" class="Img" target="_blank"><img src="/{{ user.photo }}" align="absmiddle" alt="{{ user.user }}" title="{{ user.user }}" class="LargePortrait"></a>
    </div>
    <div class="name">
        <a href="#" target="_blank">{{ user.user }}</a>
        <a href="#" target="_blank"><i class="icon-svg icon-home"></i></a>
     </div>
        <div class="writewords">
        共码了 <span title="共 27 篇">11788</span> 个字
    </div>
            <div class="edit">
            <a href="#" class="btn btn-green btn-lg">写博客</a>
        </div>
        <div class="edit link text-gary">
            <a href="#" target="_blank">
                草稿箱 (2)
            </a>
        </div>
        <div class="edit">
        <a href="#" target="_blank"><span style="font-size: 12px;padding: .1em .5em;color: #FF6600;border: 1px solid #FF6600;border-radius: 9px!important;">RSS订阅</span></a>
    </div>
</div>                        <div class="divide"></div>
                        <div class="user-radar hide" data-user="3264690">
    <div id="radar-skill" style="width: 200px;height: 120px; margin: auto;" data-detail="https://www.oschina.net/radar?userId=3264690">
    </div>
    <div class="explain">OSC技能雷达</div>
            <div class="divide"></div>
    </div>

<val data-name="radar_chart_js_url" data-value="/dist/www/vendor/radarChart/radarChart.js?t=1475077647000"></val>
<script src="/static/home_files/push.js"></script><script>
    window.addEventListener("load", function() {
        var radarChartJsUrl = $("val[data-name=radar_chart_js_url]").data("value");
        if(radarChartJsUrl) {
            require.requireJS(radarChartJsUrl, function() {
                // 雷达图配置选项
                function getRadarOption(skills, values, maxLevel) {
                    var radarChartOptions = {},
                        skillArr = skills ? skills : [],
                        valuesArr = values ? values : [],
                        maxLevelArr = [];
                        valuesArr.forEach(function(element, index) {
                            maxLevelArr.push(maxLevel);
                        });

                    radarChartOptions.data = {
                        maxValue: maxLevelArr,
                        value: valuesArr,
                        description: skillArr
                    };
                    radarChartOptions.config = {
                        scale: 0.8,
                        dataFill: {
                            fillStyle: "rgba(24, 236, 111, .4)"
                        },
                        bg: {
                            layer: 4,
                            evenFillStyle: "transparent",
                            oddFillStyle: "transparent",
                            evenStrokeStyle: "#dedede",
                            oddStrokeStyle: "#dedede"
                        },
                        dataCircle: {
                            r: 1,
                            strokeStyle: "#18ec6f",
                            fillStyle: "#18ec6f",
                            lineWidth: 0.5
                        },
                        dataLine: {
                            strokeStyle: "#18ec6f",
                            lineWidth: 2
                        },
                        font: {
                            fontColor: "#333"
                        }
                    };
                    return radarChartOptions;
                }
                var sendRequest = function () {
                    var user_id = $("val[data-name='owner_id']").attr("data-value");
                    $.ajax({
                        type: "POST",
                        url: "/action/radar/searchUserRadarMap",
                        data: {user_id: user_id},
                        dataType: "json",
                        success: function (msg) {
                            if (msg.result) {
                                // 显示雷达面板
                                $(".user-radar").show();
                                radarChart.init(document.querySelector("#radar-skill"), getRadarOption(msg.data.skills, msg.data.skillsLevel, msg.data.maxSkillLevel));
                                // 打开雷达详情页
                                var radarDetailLink = $('#radar-skill').data("detail");
                                if (radarDetailLink) {
                                    $('#radar-skill').on('click', function (params) {
                                        window.open(radarDetailLink);
                                    });
                                }
                            }
                        }
                    });
                }
                sendRequest();
            });
        }
    }, false);
</script>
                        <div class="user-sort">
    <div class="title">
        <span>分类</span>
        <em class="num">共 27 篇</em>
    </div>
    <div class="sort-list">
        <ul>
                            <a href="https://my.oschina.net/u/3264690/blog?catalog=5603458">
                    <span class="num">11</span>
                    <div class="name">
                        工作日志
                    </div>
                </a>
                            <a href="https://my.oschina.net/u/3264690/blog?catalog=5603459">
                    <span class="num">16</span>
                    <div class="name">
                        日常记录
                    </div>
                </a>
                            <a href="https://my.oschina.net/u/3264690/blog?catalog=5603460">
                    <span class="num">0</span>
                    <div class="name">
                        转贴的文章
                    </div>
                </a>
                    </ul>
    </div>
</div>                    </div>
                    <div class="flex-item-9 flex-item-md-9 content" id="search_list">




<!-- 导航和搜索 -->
<div class="navbar flex-item">
    <div class="flex-item-7 flex-item-md-7">
        <div class="nav-tabs">
            <a class="nav-tab active" href="https://my.oschina.net/u/3264690/blog?sort=time">最新</a>
            <a class="nav-tab " href="https://my.oschina.net/u/3264690/blog?sort=hot">最热</a>
        </div>
    </div>
    <div class="flex-item-5 flex-item-md-5">
        <form id="searchForm" method="get" action="https://my.oschina.net/u/3264690/blog?" onsubmit="return false;">
            <div class="search">
                <i class="icon svg-icon icon-search-dark"></i>
                <input type="text" name="search" id="search" placeholder="#&gt; 搜索博客">
                <div class="enter">
                    <svg viewBox="0 0 10 10" version="1.1" xmlns="http://www.w3.org/2000/svg">
                        <g>
                            <g transform="scale(0.009765625, 0.009765625)">
                                <path d="M959.50101 452.957279c0 36.655851-8.492418 72.226998-25.468045 106.712417-16.98279 34.485419-40.072671 65.247027-69.276806 92.272543-29.204136 27.031657-62.993706 48.624441-101.371782 64.782446-38.370913 16.148795-78.951143 24.229844-121.741715 24.229844l-39.73191 0c-15.616676 0-32.428573 0.157589-50.429553 0.465604-17.993816 0.315178-35.82288 0.463558-53.483098 0.463558l-47.88152 0c-19.695574 0-35.317367 1.866511-46.863331 5.596462-11.543917 3.729951-16.98279 11.80486-16.299221 24.229844 0 9.324366-0.170892 20.043499-0.512676 32.156374-0.340761 12.119015-0.505513 23.144116-0.505513 33.091676 0 16.155958-4.755304 26.559912-14.263865 31.219026-9.510608 4.659113-22.073738 1.400906-37.696554-9.781784-16.299221-11.190877-34.976606-24.38948-56.031131-39.616276-21.054525-15.220656-42.792619-30.912034-65.205071-47.067992-22.414499-16.155958-44.487214-31.998785-66.218144-47.533596-21.736047-15.532765-41.09086-29.512151-58.07365-41.937135-15.615653-11.18883-23.602557-21.750373-23.936155-31.69077-0.342808-9.94756 6.619768-20.509103 20.88261-31.69077 14.94027-11.183713 32.428573-24.387433 52.464909-39.616276 20.036335-15.220656 40.920992-30.91101 62.657039-47.060829 21.73093-16.155958 43.128263-32.003901 64.182788-47.538713s39.729863-29.512151 56.031131-41.939181c17.658172-13.669324 32.428573-18.950607 44.314275-15.847943 11.886725 3.107781 17.831111 13.048177 17.831111 29.824259 0 4.973268 0.169869 11.033287 0.512676 18.179035 0.333598 7.145747 0.675382 14.755052 1.01819 22.830985 0.340761 8.081049 0.675382 15.847943 1.01819 23.301705 0.340761 7.460925 0.512676 13.983479 0.512676 19.571754 0 11.812023 3.89982 19.108197 11.715833 21.908986 7.80885 2.792603 18.506493 4.193509 32.087812 4.193509 30.563086-0.621147 64.86431-0.935302 102.894462-0.935302l105.95517 0c15.622816 0 31.239492-3.258207 46.862307-9.782807 15.623839-6.523577 29.880541-15.226796 42.785455-26.103518 12.904914-10.867512 23.432689-23.452131 31.589462-37.743626 8.149611-14.291494 12.221346-29.518291 12.221346-45.667086l0-65.247027c0-24.850991-0.170892-48.932456-0.505513-72.234161-0.340761-23.296589-0.512676-43.646056-0.512676-61.045331l0-32.620955c0-13.669324 4.583388-25.009603 13.751189-34.019815 9.1678-9.010211 20.719904-15.847943 34.643008-20.507056 13.922081-4.66116 29.03222-6.990205 45.333488-6.990205 16.299221 0 31.410384 2.173502 45.333488 6.5246 13.922081 4.351098 25.473161 10.719132 34.640961 19.108197 9.1678 8.389064 13.753235 18.793018 13.753235 31.225165l0 25.161053 0 43.809785c0 16.155958 0.169869 33.397644 0.51063 51.727105 0.335644 18.327414 0.506537 35.884278 0.506537 52.656267L959.503057 426.854784 959.503057 452.957279 959.50101 452.957279 959.50101 452.957279zM959.50101 452.957279"></path>
                            </g>
                        </g>
                    </svg>
                </div>
            </div>
        </form>
    </div>
</div>
<div class="list blog-list" id="list" data-blog-size="27">

                                        <div class="list-item">
                    <div class="layout">
                                                                                    <div class="layout-right">
                                    <div class="images">
                                        <a href="https://my.oschina.net/u/3264690/blog/863439"><img src="/static/home_files/223430_rEK7_3264690.png" style="height: 100px;"></a>
                                    </div>
                                </div>
                                                                            <div class="layout-column">
                            <div class="title">
                                <span class="status-tag original" title="原创博客"> 原</span>                                                                                                                                <a href="https://my.oschina.net/u/3264690/blog/863439" class="blog-title">
                                                                        使用python编写linux文件传输命令
                                                                        <span class="status-stick text-orange" title="置顶博客">::置顶</span>                                </a>
                            </div>
                            <div class="data-info text-gary">
                                                                <ul>
                                    <li class="read">阅读 <span id="read">5</span></li>
                                    <li class="comment">·评论 <span id="comment">0</span></li>
                                    <li class="like">·赞 <span id="like">0</span></li>
                                    <li class="favor">·收藏 <span id="favor">0</span></li>
                                                                            <li>·(<span class="edit"><a href="https://my.oschina.net/u/3264690/blog/edit/863439">编辑</a></span>&nbsp;|&nbsp;<span class="delete"><a href="javascript:page.delete_blog(863439)">删除</a></span>)
                                        </li>
                                                                    </ul>
                            </div>
                                                        <div class="time">
                                2017/03/20 发布
                            </div>
                        </div>
                    </div>
                </div>
                                                <div class="list-item">


                            <!-- 分页 -->
    <div class="pages sm-hide">
                        <style type="text/css">
        .paging {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display:         flex;
             -webkit-justify-content: flex-end;
            justify-content: flex-end;
            -ms-flex-pack: end;
            -moz-box-pack: end;
            -webkit-box-pack: end;
            width: 100%;
            right: 0;
            margin: 40px 0;
        }
        .paging li,
        .paging .page {
            display: inline-block;
            height: 32px;
            font-size: 16px;
            text-align: center;
            color: #c9c9c9;
            box-shadow: inset 0 0 0 1px #c9c9c9;
            transition:box-shadow .2s,color .2s;
            margin-right: 10px;
        }
        .paging li a,
        .paging .page a {
            padding: 0 10px;
            height: 32px;
            line-height: 32px;
            display: block;
            color: #999;
        }
        .paging li:hover,
        .paging .page:hover,
        .paging li.current,
        .paging .page.current,
        .paging li.active,
        .paging .page.active {
            color: #4eaa4c;
            box-shadow: inset 0 0 0 1px #4eaa4c;
        }
        .paging li:hover a,
        .paging .page:hover a,
        .paging li.current a,
        .paging .page.current a,
        .paging li.active a,
        .paging .page.active a {
            color: #4eaa4c;
        }
        .paging ul,
        .paging .pager {
            display: -webkit-box;
            display: -webkit-flex;
            display: -ms-flexbox;
            display:         flex;
        }

        .paging li:last-child{margin-right: 0;}
    </style>
                                                                            <ul class="paging">
                        <li class="active"><a href="https://my.oschina.net/u/3264690/blog?sort=time&amp;p=1">1</a></li>            <li><a href="https://my.oschina.net/u/3264690/blog?sort=time&amp;p=2">2</a></li>            <li><a href="https://my.oschina.net/u/3264690/blog?sort=time&amp;p=3">3</a></li>            <li><a href="https://my.oschina.net/u/3264690/blog?sort=time&amp;p=2">下一页</a></li>        </ul>
                </div>
    <!-- 加载更多//手机显示 -->
            <div class="mores" data-is-all-load="false">
            <div class="sm-show">
                                    上拉加载更多
                            </div>
        </div>
    </div>
<!-- 右侧工具条 -->
<div class="tool-bar blog-tool-bar">
    <div class="item tool-top" style="display: none;">
        <a href="https://my.oschina.net/u/3264690/blog#navbar-header" data-href="#navbar-header" class="over">
            <div class="icon">
                <i class="icon-svg icon-go-top"></i>
            </div>
            <div class="txt">顶部</div>
        </a>
    </div>
</div>

        <script>
        window.addEventListener("load", function() {
            (function(){
                var bp = document.createElement('script');
                var curProtocol = window.location.protocol.split(':')[0];
                if (curProtocol === 'https') {
                    bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
                }
                else {
                    bp.src = 'http://push.zhanzhang.baidu.com/push.js';
                }
                var s = document.getElementsByTagName("script")[0];
                s.parentNode.insertBefore(bp, s);
            })();
        });
    </script>
                        </div>
                </div>
            </div>
        </div>
    </div>
                        <script type="text/javascript" src="/static/home_files/common.min.js"></script>
            <script type="text/javascript" src="/static/home_files/blog.min.js"></script>

                    <style type="text/css">
    .osc-map {
        font-size: 0;
        padding: 16px 0 0;
        background: #FAFAFA;
    }

    .map-header{
        font-size: 12px;
        font-weight: normal;
        margin: 0 0 10px;
        height: 18px;
        color: #4A4A4A;
    }
    .map-header.bigger{font-weight: bold;}

    .map-link{
        font-size: 12px;
        display: block;
        line-height: 20px;
        color: #4A4A4A;
        transition:color .2s;
    }

    .map-link:hover{
        color:#21B351;
    }

    .wechat{margin: 0 auto;}

    .osc-footer {
        background: #444444;

    }
    .content-wrapper{
        width:1200px;
        margin:0 auto;
        height: 36px;
    }
    .osc-footer *{
        font-size: 12px;
        color: #CFCFCF;
    }
</style>


   <script type="text/javascript">
        $(".box").css({width:"100%",maxWidth:"1200px",margin:"0 auto"});
    </script>



<!-- Generated by OsChina.NET (init:1[ms],page:28[ms],ip:120.203.25.245) -->

        <script type="text/javascript" src="/static/home_files/radarChart.js"></script>

    </div>
        {% endblock %}

{% endblock %}